package com.cdcas;

import java.util.Set;
import java.util.TreeSet;

public class Book1Main {
    public static void main(String[] args) {
        Set<Book1> all = new TreeSet<>();
        all.add(new Book1("a","a",120));
        all.add(new Book1("b","b",190));
        all.add(new Book1("test","test",190));
        all.add(new Book1("java","java",200));
        all.forEach(System.out::println);


    }
}
